<!DOCTYPE html>
<html>
<head>
    <include file="Include:meta"/>
    <title>运营周报-目的地运营集团数据管理平台</title>
    <include file="Include:style"/>
    <link rel="stylesheet" href="__PUBLIC__/mobile/css/dropload.css">
</head>
<body>
<div class="header">
    <a href="javascript:history.back(-1);" class="back_btn"></a>
    <a class="menu_btn_new" href="javascript:;"><span class="sp1"></span><span class="sp2"></span><span
            class="sp3"></span></a>
    运营周报
    <a class="add_btn_new" href="__APP__/Mobile/CrmProjects/weekly_add/pid/{$result['pid']}"></a>
</div>
<include file="Include:projects_commu_menu"/>
<div class="content">
    <div class="operate_list">
        <if condition="$res_weekly eq NULL">
            <div class="no_data"></div>
            <else/>
            <ul class="list">
                <foreach name="res_weekly" item="vo">
                    <li class="clearboth">
                        <a class="text_cont float_l"
                           href="__APP__/Mobile/CrmProjects/weekly_detail/weekly_id/{$vo['weekly_id']}">
                            <span class="week">{$vo['week']}周</span>
                            <div class="item-cont">
                                <p class="time">{$vo['year']}年{$vo['year_week']}</p>
                                <p class="user">添加人：{$vo['add_user']}<span class="mr10"></span>
                                    <!--<if condition="$vo['reply_user'] neq NULL">批复人：{$vo['reply_user']}<else />未批复</if>-->
                                </p>
                            </div>
                        </a>
                        <div class="btn_cont float_r">
                            <if condition="$vo['reply'] eq 1 and $year eq $vo['year'] and $week eq $vo['week']">
                                <a href="__APP__/Mobile/CrmProjects/weekly_edit/weekly_id/{$vo['weekly_id']}"
                                   class="btn icon_edit_btn"></a>
                                <a href="javascript:;" class="btn icon_close_btn delete"
                                   weekly_id="{$vo['weekly_id']}"
                                   project_id="{$vo['project_id']}"></a>
                            </if>
                        </div>
                    </li>
                </foreach>
            </ul>
        </if>
    </div>
</div>
<include file="Include:javascript"/>
<script src="__PUBLIC__/mobile/js/dropload.min.js"></script>
<script>
    $(function () {
        menu_new();
    })
    $(function () {
        //删除
        $(".delete").ajaxModal({
            "body_text": "您确定要删除吗？",
            "url": "__APP__/Mobile/CrmProjects/weekly_del",
            "data": {"weekly_id": "weekly_id", "project_id": "project_id"}
        });

    })
</script>
</body>
</html>